#pragma once

#include "util/json_util.hpp"
#include "core/lock/LockSys.hpp"
#include "core/lock/TransactionManager.hpp"

extern SystemConfig gSystemConfig;
extern std::unordered_map<std::string,IbdConfig> gTableConfig;
extern LockSys gLockSys;
extern TransactionManager gTrxMgr;
extern uint64_t gNexTrxId;
void painInit();

void findDataConfig(const std::string &name,DataConfig &dataConfig);